package com.link.base.base.interinfo.service;

import com.link.base.base.interinfo.dao.mybatis.mapper.InterInfoMapper;
import com.link.base.base.interinfo.model.InterInfo;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 接口详情信息-接口详情信息 
 *
 * @author 秦学刚
 * @date 2019/07/01 21:11
 */
@Service
public class InterInfoServiceImpl extends BasicServiceImpl<InterInfo> implements InterInfoService {

    @Resource
    private InterInfoMapper interInfoMapper;

    @Override
    public BasicMapper<InterInfo> getBasicMapper() {
        return interInfoMapper;
    }

    @Override
    public List<InterInfo> unSelectInterList(InterInfo entity) throws Exception {
        return interInfoMapper.unSelectInterList(entity);
    }

    @Override
    public InterInfo queryByCode(InterInfo entity) throws Exception {
        return interInfoMapper.queryByCode(entity);
    }
}

